<tr >


    <td style="text-align:center;">

        <?php
        if($data->status==0) echo "未使用";
        if($data->status==1) echo "已使用";
        if($data->status==2) echo "已废弃";
        ?>

 </td>


    <td style="text-align:center;"><?php

        $aes = new Aes();
        $str = $aes->decrypt($data->code_str);
        $d = explode("-",$str);

        $str = str_replace($d[1],"****",$str);
        $str = str_replace($d[2],"****",$str);

        echo $str;
        //echo str_replace(substr($str,15),"****",$str);


        ;?></td>
    <td style="text-align:center;"><?php echo $data->user_id;?></td>
    <td style="text-align:center;"><?php echo $data->face_value/100;?></td>

    <td style="text-align:center;"><?php echo $data->use_ip ;?></td>
    <td style="text-align:center;"><?php echo $data->use_time;?></td>
    <td style="text-align:center;"><?php echo $data->create_time;?></td>
<!--    <td>
        <?php /*echo  ActionMenuHelper::ProcessActList($data,$act_list,'id','id');*/?>
    </td>
-->
    <td>
        <?php echo  ActionMenuHelper::ProcessActList($data,$act_list,'id','id');?>
    </td>
</tr>
